package com.ytkj.digitalConstruction.httpbean.dept.req;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

import com.ytkj.digitalConstruction.httpbean.PageParam;

/**
 * 分页查询时的参数
 * 
 * @author momei
 *
 */
public class PageDept extends PageParam{
	@NotNull(message = "部门id不能为空！")
	private Integer deptId;
	@Size(max=50,message="用户姓名不能大于50个字！")
	private String userName;

	public Integer getDeptId() {
		return deptId;
	}

	public void setDeptId(Integer deptId) {
		this.deptId = deptId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}
}
